<template>
  <div id="home">
    <el-container>
      <el-header style="width:100vw;padding:0;">
        <Header></Header>
      </el-header>
      <el-container>
        <el-aside width="260px" >
          <Aside></Aside>
        </el-aside>
        <el-main ><router-view></router-view></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  import Header from "@/views/Header.vue"
  import Aside from "@/views/Aside.vue"
export default {
  data:function(){
    return {
      msg:"首页"
    }
  },
   components:{
    Header,
    Aside
  }


}
</script>




<style lang="less">

body{
  margin: 0;
}

.el-container{
  padding: 0;
  width:100vw;
  height: 100vh;
}

  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    // background-color: rgb(84, 92, 100);
    color: #333;
    text-align: center;
    line-height: 200px;

  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    // text-align: center;
    // line-height: 160px;
 
  }

</style>
